#include <stdio.h>
int main() {
    int arr[3][4], **p, *q[3];
    for (int i = 0; i < 3; i++) {
        q[i] = arr[i];
    }
    p = q;
    printf("请输入二维数组元素：\n");
    for (int i = 0; i < 3; i++) {
        for (int j = 0; j < 4; j++) {
            scanf("%d", &arr[i][j]);
        }
    }
    printf("按结构输出：\n");
    for (int i = 0; i < 3; i++) {
        for (int j = 0; j < 4; j++) {
            printf("%d ", *(*(p + i) + j));
        }
        printf("\n");
    }
    return 0;
}